Release 10.1A: OpenEdge Development:
Web Services
Accessing a different port type in the same Web service
You can access a different port type in a Web service using the same server object handle, but only after disconnecting the server object from its current binding.
![]()
To access a different port type in a bound Web service using the same server object handle:
- Delete the procedure object mapped to the current port type, using the
DELETEPROCEDUREorDELETEOBJECTstatement.- Unbind (logically disconnect) the server object handle from its current Web service binding using the
DISCONNECT( )method.- Using the
CONNECT( )method on the same server object handle, bind the server object to the Web service using a binding that supports the next port type.- Create and map a new procedure object to the next port type, using the
RUNstatement with the same server object handle, and, if you want, setting the same procedure object handle used to map the previous port type.You can repeat this procedure for each port type you need to access in the same Web service, or you can map all of the Web service port types at one time using multiple server object and procedure object handles.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |